package com.group.product.mapper;

import com.group.commons.entity.Product;
import com.group.product.mapper.entity.MapperEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author :spj
 * @date:2022/6/7
 * @description:
 */
@Mapper
public interface ProdcutMapper {
    ProdcutMapper MAPPER= Mappers.getMapper(ProdcutMapper.class);
    List<MapperEntity> convert(List<Product> products);
}
